<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo ($head_tittle); ?></title>
<link href="/my/sharkcms/Public/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="/my/sharkcms/Public/home/css/style.css" rel="stylesheet" type="text/css" />
<link href="/my/sharkcms/Public/home/css/index.css" rel="stylesheet" type="text/css" />
<script src="/my/sharkcms/Public/js/jquery.js"></script>
<script src="/my/sharkcms/Public/home/js/view.js"></script>
<title><?php echo ($pageconfig["tittle"]); ?></title>
<script>
$(document).ready(function(){
	//退出登录页面
   $('.outlogin').click(function(){                   
      var url="<?php echo U('Public/outlogin');?>";
      $.post(url,function(data){
	     $(".logininfor").html('<a href="<?php echo U("Index/login");?>" style=" color:#B61D1D;">&nbsp;您好，&nbsp;&nbsp;请登录</a>&nbsp;&nbsp;<a href="<?php echo U("Index/reg");?>">免费注册</a>');
	  });
	  return false;

   });
   $(".head_line2_wrap_li1").click(function(){
	  	  var url="<?php echo U('index');?>";
	  	  window.location.href=url;
   });
});
</script>

</head>

<body>
<div class="header">
   <div class="head_line1_wrap" align="center">
      <div class="head_line_center" >
	       <div class="fl">欢迎访问霞客系统</div>
		   <div class="fr logininfor">
		   	<?php if(session('uid')): ?><a href="<?php echo U("User/index");?>" class="loginname"><?php echo getUserName(session('uid'));?></a>&nbsp;&nbsp;<a href="#" class="outlogin">[退出]</a>
               <?php else: ?>
                  <a href="<?php echo U('Index/login');?>" style=" color:#B61D1D;">&nbsp;您好，&nbsp;&nbsp;请登录</a>&nbsp;&nbsp;<a href="<?php echo U('Index/reg');?>">免费注册</a><?php endif; ?>
		   </div>
	  </div>
	</div>
	<div class="head_line2_wrap" align="center">
      <div class="head_line_center" >
          <div class="head_line2_wrap_li1" style="cursor:pointer"></div> 
		  <div class="head_line2_wrap_li2">
		        <div class="fl"><input type="text" class="head_line2_wrap_li2_input" /></div>
				<div class="fr"><input type="submit" value="搜索" class="head_line2_wrap_li2_submit" /></div>
				<div class="clear"></div>
		  </div>
		  <div class="head_line2_wrap_li3">
		        <div class="head_line2_wrap_li3_l" onclick="window.location.href='<?php echo U(shop);?>'">购物车<?php echo count($_SESSION['shop']);?></div>
				<div class="head_line2_wrap_li3_r">去结算</div>
		  </div>  
	  </div>
	</div>
	<div class="head_line3_wrap" align="center">
	     <div class="head_line_center" >
		      <div class="head_line3_l">商品分类导航</div>
<style>
.xiake li{ font-family:"microsoft yahei"; font-size:15px; cursor:pointer;}
.xiake li a{ display:block;}
.xiake li .focus{color:#B1191A;font-weight: bold;}
</style>			  
			  <ul class="fl xiake">
			      <li><a href="<?php echo U('Index/index');?>" <?php if(I('name') == null): ?>class="focus"<?php endif; ?>>首页</a></li> 
			      <li>
			          <a href="<?php echo U('Index/goodsList',array('lid'=>10,'name'=>'jiadian'));?>" <?php if(I('name') == jiadian): ?>class="focus"<?php endif; ?> >
			               家用电器
			          </a>
			      </li> 
			      <li>
			           <a href="<?php echo U('Index/goodsList',array('lid'=>12,'name'=>'jiaju'));?>" <?php if(I('name') == jiaju): ?>class="focus"<?php endif; ?> >
			               家居家纺
			           </a>
			      </li>
			      <li>
				      <a href="<?php echo U('Index/goodsList',array('lid'=>13,'name'=>'fuzhuang'));?>" <?php if(I('name') == fuzhuang): ?>class="focus"<?php endif; ?> >
				           服装箱包
				      </a>
			      </li>
			      <li>
				      <a href="<?php echo U('Index/goodsList',array('lid'=>14,'name'=>'huazhuang'));?>" <?php if(I('name') == huazhuang): ?>class="focus"<?php endif; ?> >
				           个护化妆
				      </a>
			      </li>
			      <li>
			          <a href="<?php echo U('Index/goodsList',array('lid'=>21,'name'=>'wenhua'));?>" <?php if(I('name') == wenhua): ?>class="focus"<?php endif; ?> >
			                书籍文化
			          </a>
			      </li>
<!-- 			      <li><a href="">顾客留言</a></li> -->
			      <li><a href="<?php echo U('User/index');?>" >会员中心</a></li>
			  </ul>
		 </div>
	</div>
	
</div>


<div align="center">
    <div class="conten1">
	   <div class="add_content">
	     <div class="fl add_content_l fyahei"><b></b>商品已成功加入购物车！</div>
		 <div class="fl add_content_m"><a href="<?php echo U('Index/shop');?>" class="abutton">去购物车结算</a></div>
		 <div class="fl line_30 h40">&nbsp;&nbsp;&nbsp;您还可以<a href="#" onclick="window.location.href='<?php echo U("Index/index");?>'" class="colorblue">继续购物</a></div>
	   </div>
	</div>
</div>




</body>
</html>